import {
	silentReload
} from '@/service/request/main.js'

export default {
	onLoad(options) {
		console.log('onload mixin auth', options)
		// 自动登录
		if (!this.$store.getters.accessToken) {
			console.info('auth onload', 'silentReload')
			silentReload()
		}
	}
}
